Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote thread subscriptions & unify filter types #272

Merged
merged 3 commits into from
Aug 21, 2024
Merged

Remote thread subscriptions & unify filter types #272

merged 3 commits into from
Aug 21, 2024

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Aug 20, 2024

This PR implements remote thread subscriptions, and refactors the codebase to use a single filter type. To do this I had to implement lots of additional filter functionality into nostrdb::Filter. Since nostrdb::Filters are succinct data structures, mutating them was non-trivial, but now we have an ergonomic interface to do that, which we do.

only use nostrdb::Filter

Signed-off-by: William Casarin <[email protected]>
Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 merged commit 1f149ae into master Aug 21, 2024
3 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant